package com.home.service;

import java.util.Map;

import com.home.common.Page;
import com.home.model.Home;
import com.home.model.QueryHome;

@SuppressWarnings("unchecked")
public interface HomeService {
	public void insert(Home h);
	public Home getHomeById(Integer id);
	public void deleteHomeById(Integer id);
	public Page<Home> getAll(Page<Home> p);
	public Page<Home> getHomeByConditions(Page<Home> p, Map<String, Object> map);
	public Page<Home> getHome(Page<Home> page,QueryHome home);
}
